import axios from '@/utils/request'


export const getWorklogInfo = (form)=>{
    let worklogInfo = axios.post('/index/worklog/worklogInfo',{form})
    return worklogInfo
}

export const handleWorklog = (type,form)=>{
    let newWorklog = axios.post('/index/worklog/editWorklog',{type,form})
    return newWorklog
}